﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace SF.WebClient.Controllers
{
    public class TreeController : BasicController
    {
        #region dataPlain 支持平滑数据

        public ViewResult DataPlainDemo()
        {
            return View();
        }

        public PartialViewResult DataPlainSource()
        {
            return PartialView();
        }

        public void ViewDataPlainSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/tree/jeasyui.extensions.tree.dataPlain.js");
        }

        public PartialViewResult DataPlainExplain()
        {
            return PartialView();
        }

        #endregion

        #region getNodes 获取所有节点

        public ViewResult GetNodesDemo()
        {
            return View();
        }

        public PartialViewResult GetNodesSource()
        {
            return PartialView();
        }

        public void ViewGetNodesSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/tree/jeasyui.extensions.tree.getNodes.js");
        }

        public PartialViewResult GetNodesExplain()
        {
            return PartialView();
        }

        #endregion

        #region findNodes 获取指定节点

        public ViewResult FindNodesDemo()
        {
            return View();
        }

        public PartialViewResult FindNodesSource()
        {
            return PartialView();
        }

        public void ViewFindNodesSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/tree/jeasyui.extensions.tree.findNodes.js");
        }

        public PartialViewResult FindNodesExplain()
        {
            return PartialView();
        }

        #endregion

        #region isRoot 是否为根节点

        public ViewResult IsRootDemo()
        {
            return View();
        }

        public PartialViewResult IsRootSource()
        {
            return PartialView();
        }

        public void ViewIsRootSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/tree/jeasyui.extensions.tree.isRoot.js");
        }

        public PartialViewResult IsRootExplain()
        {
            return PartialView();
        }

        #endregion

        #region getLevel 获取节点的级别

        public ViewResult GetLevelDemo()
        {
            return View();
        }

        public PartialViewResult GetLevelSource()
        {
            return PartialView();
        }

        public void ViewGetLevelSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/tree/jeasyui.extensions.tree.getLevel.js");
        }

        public PartialViewResult GetLevelExplain()
        {
            return PartialView();
        }

        #endregion

        #region next 获取平级的下一个节点

        public ViewResult NextDemo()
        {
            return View();
        }

        public PartialViewResult NextSource()
        {
            return PartialView();
        }

        public void ViewNextSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/tree/jeasyui.extensions.tree.next.js");
        }

        public PartialViewResult NextExplain()
        {
            return PartialView();
        }

        #endregion

        #region prev 获取平级的上一个节点

        public ViewResult PrevDemo()
        {
            return View();
        }

        public PartialViewResult PrevSource()
        {
            return PartialView();
        }

        public void ViewPrevSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/tree/jeasyui.extensions.tree.prev.js");
        }

        public PartialViewResult PrevExplain()
        {
            return PartialView();
        }

        #endregion

        #region getNears 获取平级的所有节点

        public ViewResult GetNearsDemo()
        {
            return View();
        }

        public PartialViewResult GetNearsSource()
        {
            return PartialView();
        }

        public void ViewGetNearsSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/tree/jeasyui.extensions.tree.getNears.js");
        }

        public PartialViewResult GetNearsExplain()
        {
            return PartialView();
        }

        #endregion

        #region unselect 取消选择

        public ViewResult UnselectDemo()
        {
            return View();
        }

        public PartialViewResult UnselectSource()
        {
            return PartialView();
        }

        public void ViewUnselectSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/tree/jeasyui.extensions.tree.unselect.js");
        }

        public PartialViewResult UnselectExplain()
        {
            return PartialView();
        }

        #endregion

        #region setText 设置文本

        public ViewResult SetTextDemo()
        {
            return View();
        }

        public PartialViewResult SetTextSource()
        {
            return PartialView();
        }

        public void ViewSetTextSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/tree/jeasyui.extensions.tree.setText.js");
        }

        public PartialViewResult SetTextExplain()
        {
            return PartialView();
        }

        #endregion

        #region setIcon 设置图标

        public ViewResult SetIconDemo()
        {
            return View();
        }

        public PartialViewResult SetIconSource()
        {
            return PartialView();
        }

        public void ViewSetIconSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/tree/jeasyui.extensions.tree.setIcon.js");
        }

        public PartialViewResult SetIconExplain()
        {
            return PartialView();
        }

        #endregion

        #region toggleOnClick 当左键点击带有子节点的节点时，是否自动展开/折叠相应节点

        public ViewResult ToggleOnClickDemo()
        {
            return View();
        }

        public PartialViewResult ToggleOnClickSource()
        {
            return PartialView();
        }

        public void ViewToggleOnClickSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/tree/jeasyui.extensions.tree.toggleOnClick.js");
        }

        public PartialViewResult ToggleOnClickExplain()
        {
            return PartialView();
        }

        #endregion

        #region getTheRoot 获取根节点

        public ViewResult GetTheRootDemo()
        {
            return View();
        }

        public PartialViewResult GetTheRootSource()
        {
            return PartialView();
        }

        public void ViewGetTheRootSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/tree/jeasyui.extensions.tree.getTheRoot.js");
        }

        public PartialViewResult GetTheRootExplain()
        {
            return PartialView();
        }

        #endregion
	}
}